package com.pug.service.hotel;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pug.pojo.HotelTypeMiddle;
import com.pug.service.BaseService;

public interface IHotelTypeMiddleService extends IService<HotelTypeMiddle>, BaseService {
    /**
     * 根据酒店id和房型id查询出剩余的库存
     */
    public int queryStoreByHotelIdAndTypeId(Long hotelId,Long hotelTypeId);
    public int deleteNum(Long hotelId,Long hotelTypeId,int num);
}
